package com.vecharm.app.wiget

import android.widget.FrameLayout

interface IPayer {


    fun initPlayer(parent: FrameLayout, url: String)

    fun play()

    fun pause()

    fun stop()

    fun onResume()

    fun onPause()

    fun setOnErrorListener(callback: (String) -> Unit)
}